† Corresponding author. E-mail:
The point spread function (PSF) is investigated in order to study the centroids algorithm in a reverse Hartmann test (RHT) system. Instead of the diffractive Airy disk in previous researches, the intensity of PSF behaves as a circle of confusion (CoC) and is evaluated in terms of the Lommel function in this paper. The fitting of a single spot with the Gaussian profile to identify its centroid forms the basis of the proposed centroid algorithm. In the implementation process, gray compensation is performed to obtain an intensity distribution in the form of a two-dimensional (2D) Gauss function while the center of the peak is derived as a centroid value. The segmental fringe is also fitted row by row with the one-dimensional (1D) Gauss function and reconstituted by averaged parameter values. The condition used for the proposed method is determined by the strength of linear dependence evaluated by Pearson’s correlation coefficient between profiles of Airy disk and CoC. The accuracies of CoC fitting and centroid computation are theoretically and experimentally demonstrated by simulation and RHTs. The simulation results show that when the correlation coefficient value is more than 0.9999, the proposed centroid algorithm reduces the root-mean-square error (RMSE) by nearly one order of magnitude, thus achieving an accuracy of
Interferometry[1–3] and deflectometry[4,5] have been widely employed in the measurement of optical surfaces. In particular, slope measuring deflectometry (SMD)[6] systems have been developed rapidly. Successful implements include the reverse Hartmann test (RHT) presented by Su et al.[7] and phase measuring deflectometry presented by Knauer et al.[4]
The RHT provides a contact-free, high dynamic range, full field metrology method with easy setup and alignment. It utilizes an incoherent source and imaging detector with external pin-aperture to measure the shape of tested surfaces as shown in Fig.
To explore the centroid computing method for the RHT, one needs to start with analyzing the intensity distribution of the point spread function (PSF). The PSF describes the contribution of irradiance on a single image point. In the beam path diagram described in Fig.
In this paper, the CoC intensity distribution is determined by the characteristics of imaging lens and pin-aperture model. It is simulated on computer based on Lommel functions and Bessel functions. Image formation experiments are also conducted to prove the correctness and validity of the model. The strength of linear dependence between the Airy disk profile and CoC profile is evaluated by Pearson’s correlation coefficient. Finally, the centroid algorithm of CoC is investigated in the RHT system.
The rest of this paper is organized as follows. In Section 2, the intensity of CoC is analyzed based on the RHT pin-aperture model. In Section 3, a simulation is conducted to verify the performance of the algorithm. In Section 4, the centroid computation experiments for the spot and fringe pattern based on a coaxial RHT system are conducted. In Section 5, some conclusions and a discussion are presented.
The centroid is generally defined as the irradiance weighted average position of detector pixels. The centroid from pixel-to-pixel light curve data is calculated by[10]
Actually, the patterns on the detector are small in size. Figure
To counter the problems above, the Gaussian fitting of the single spot pattern takes into account the sub-pixel localization, and the Gaussian fitting is used to precisely extract its centroid. We know that the Airy disk can be approximated by the Gauss function, however, not all the patterns of RHT can have the same approximation due to diffraction and out-of-focus reasons. Thus we need to establish and evaluate the physical optics model of PSF before the centroid computation in RHT.
Figure
The light path described in Fig.
The pin-aperture system consists of a circular opening in a planar opaque screen. The image plane is placed at a distance
In classical physics, the diffraction phenomenon is described as the interference of waves according to the Huygens–Fresnel principle. However, the Huygens–Fresnel integral used to determine the light intensity in the CoC cannot be obtained in a closed form and must be evaluated in terms of Lommel functions and Bessel functions. The light intensity
Simulations of the intensity distribution
An important observation is that when u ranges from 0 to
As described in subSection 2.1, the light source is blurred in a characteristic manner by the RHT system with a pin-aperture, termed the CoC. When the value of u is kept in a range from 0 to
The fitting of a single CoC spot with a Gaussian function to identify its centroid forms the basis of the proposed centroiding algorithm. The Gauss function used to formulate the gray distribution of the spot pattern is given by
The algorithm of Eq. (
A simulation experiment is carried out to test the precision of the proposed centroid algorithm. A simulated spot image is generated by the computer; each spot is defended as a CoC as shown in Fig.
We designed a coaxial RHT to capture target images. The experimental setup consisted of an image generator (light source), PBS, reflector surfaces (planar, spherical, and off-axis parabolic (OAP) mirror), pin-aperture, imaging detector, and a computer as shown in Fig.
The spots patterns with different shapes are collected by the setup shown in Fig.
Through the binarization and the statistics for connected regions, the invalid data with small area are removed. Once the valid images are acquired, we perform a 2D Gaussian fitting by least squares using a custom Matlab (The Mathworks, Natick, MA) script. Each circular spot intensity is approximated by a Gaussian fit and compared with the simulation by Lommel function (Eq. (
The spot centroids are computed by the methods described by Eq. (
In fact, the spot reflected by OAP demonstrates oblate shape (
The fringe patterns are captured and analyzed in the same way as spot patterns. As shown in Fig.
Invalid data are located at both ends of the fringe. In order to improve the efficiency, instead of computing the centroid row-by-row, we segment the successive fringe into several separate short lines and calculate the centroid with 2D Gaussian fitting for each of them. The width of the fringe yields the length of each segment in our research. Figures
The fringe centroids are computed by the methods described in Eqs. (
In fact, the curve of the 2D Gauss function has a characteristic symmetric ‘bell’ shape. The fitting result about the fringe pattern presents an ‘oblate bell’ shape. Taking Fig.
Anti-noise experiments for centroid algorithms with the methods of Eq. (
Table
It can be found that a greater shift of centroid is obtained when the SNR value the noised image has is larger. The value of (
A centroid algorithm with Gaussian approximation is theoretically and experimentally demonstrated based on the study of CoC in the RHT system. Since the detector is not focused on the light source, the intensity of PSF is evaluated in terms of Lommel functions and Bessel functions. According to the CoC computational simulation, we find that when the correlation coefficient r is more than 0.9999, there is a strong positive relationship between the
[1] | |
[2] | |
[3] | |
[4] | |
[5] | |
[6] | |
[7] | |
[8] | |
[9] | |
[10] | |
[11] | |
[12] | |
[13] | |
[14] | |
[15] |